package com.matt.repository;

import com.matt.domain.ProductWarn;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/12/11
 * *******************************
 */

public interface ProductWarnRepository extends JpaRepository<ProductWarn, String>, JpaSpecificationExecutor<ProductWarn> {

    ProductWarn findByProductIdAndAreaTypeId(String productId,String areaTypeId);


}
